package repertoireCorrec;

import com.opensymphony.xwork2.ActionSupport;

public class AjoutAction extends ActionSupport {

	private String nom,tel;

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}
	
	@Override
	public String execute(){
		Repertoire.getRepertoireTest().ajouterEntree(nom, tel);
		return SUCCESS;
		
	}
}
